package com.gage.print.pdf.model;

import java.util.List;

public class Student {
	public Student() {
		super();
	}

	public Student(String name, String studentNo) {
		super();
		this.name = name;
		this.studentNo = studentNo;
	}

	private String name;
	private String studentNo;
	private List<Major> majorList;

	public List<Major> getMajorList() {
		return majorList;
	}

	public void setMajorList(List<Major> majorList) {
		this.majorList = majorList;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getStudentNo() {
		return studentNo;
	}

	public void setStudentNo(String studentNo) {
		this.studentNo = studentNo;
	}
	
	@Override
	public String toString() {
		return "Student [name=" + name + ", studentNo=" + studentNo + ", majorList=" + majorList + "]";
	}
}
